/*
 * Copyright (c) 2015 elion. All Rights Reserved.
 */
package com.guoyu.project.web.admin;

import java.util.Map;

import javax.annotation.Resource;

import com.guoyu.project.model.enums.CollegeType;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.google.common.collect.Maps;
import com.guoyu.project.common.pagination.Pagination;
import com.guoyu.project.model.Article;
import com.guoyu.project.model.enums.ArticleType;
import com.guoyu.project.model.enums.NewsType;
import com.guoyu.project.service.ArticleService;

/**
 * 今日资讯,前端接口NewsController
 *
 * @author: xblibo Sat Jun 06 16:35:06 CST 2015
 * @version 1.0
 */
@Controller
@RequestMapping("admin/transform")
public class TransformController {

    private ArticleType majorType = ArticleType.TRANSFORM;

    @RequestMapping("index")
    public String index(Model model) {
        model.addAttribute("typeList", majorType.getMinorTypes());
        return "admin/transform/index";
    }

}